﻿@page "/Samples/SingleSqlToExcel/{AuthId:int}"
@page "/Samples/SingleSqlToExcel"
@inject ILogger<SingleSqlToExcel> nlogILogger;
@inject IAdminService IAdminService
@inject ITempService ITempService
@inject SwalService SwalService
<div class="alert alert-info">
    <h3 style="text-align:center">@Webpages.MenuName</h3>
</div>
<PopConfirmButton Placement="Placement.Bottom"
                  Color="Color.Success"
                  ConfirmIcon="fa-solid fa-triangle-exclamation text-danger"
                  ConfirmButtonColor="Color.Danger"
                  Text="查询(xlsx)"
                  Content="确定导出Excel吗？"
                  Icon="far fa-hand-pointer"
                  class="form-control" Size="Size.ExtraExtraLarge"
                  IsAsync="true"
                  OnConfirm="QueryToExcelAsync" />

@* <PopConfirmButton Placement="Placement.Bottom"
                  Color="Color.Success"
                  ConfirmIcon="fa-solid fa-triangle-exclamation text-danger"
                  ConfirmButtonColor="Color.Danger"
                  Text="查询(csv,中文乱码)"
                  Content="确定导出Excel吗？"
                  Icon="far fa-hand-pointer"
                  class="form-control" Size="Size.ExtraExtraLarge"
                  IsAsync="true"
                  OnConfirm="QueryToCsvAsync" /> *@
